package com.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.entity.Product_comment;
import com.entity.view.Product_commentView;
import com.entity.vo.Product_commentVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface Product_commentDao extends BaseMapper<Product_comment> {
    List<Product_commentVO> selectListVO(@Param("ew") Wrapper<Product_comment> wrapper);

    Product_commentVO selectVO(@Param("ew") Wrapper<Product_comment> wrapper);

    List<Product_commentView> selectListView(@Param("ew") Wrapper<Product_comment> wrapper);

    List<Product_commentView> selectListView(Pagination page, @Param("ew") Wrapper<Product_comment> wrapper);

    Product_commentView selectView(@Param("ew") Wrapper<Product_comment> wrapper);

}
